package edu.midir.demo.pojo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.bson.types.ObjectId;

import java.io.Serializable;

@Data(staticConstructor="of")
@AllArgsConstructor
public class UserEntity implements Serializable{
   private ObjectId id;
   private String nickName;
   private String avatar;
}
